.agenda-wrapper-container {
  margin-bottom: 50px;

  &:last-child {
    margin-bottom: 0;
  }

}

.agenda-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;

  .agenda-left-col {
    width: 120px;

    @media only screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .agenda-right-col {
    width: calc(100% - 120px);

    @media only screen and (max-width: 767px) {
      width: 100%;
    }
  }
}

.agenda-details {
  border: 1px solid #ebebea;
  padding: 20px 20px 20px;
}

.agendasession {
  margin-bottom: 40px;

  &:last-child {
    margin-bottom: 0px;
  }
}

.agenda-head-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0px -15px;

  .agenda-head-col {
    width: 50%;
    padding: 0px 15px;

    @media only screen and (max-width: 767px) {
      width: 100%;
    }

    .speaker__link {
      @media only screen and (max-width: 767px) {
        display: block;
      }
    }
  }
}

.tag {
  background-color: var(--color-26);
  padding: 4px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;

  &.dark-blue {
    background-color: #3a537a;
  }

  &.red {
    background-color: #e35563;
  }

  &.light-blue {
    background-color: #378fce;
  }

  &.purple {
    background-color: #334a97;
  }

}

.agenda-top-col {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  @media only screen and (max-width: 767px) {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .tag {
    margin-left: 0px;
  }

  .icon-text {
    display: inline-flex;
    color: #777e90;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;

    // margin-left: 16px;
    @media only screen and (max-width: 767px) {
      margin-left: 0;
    }

    svg {
      width: 20px;
      height: 20px;
      margin-right: 6px;
    }
  }

  .btn--primary {
    padding: 10px 20px;
  }
}

.agenda-top-panel {
  display: flex;
  flex-wrap: wrap;
  margin: 0px -15px;
  gap: 10px 0px;
  justify-content: space-between;

  @media only screen and (max-width: 767px) {
    justify-content: flex-start;
    margin-bottom: 15px;
  }

  .agenda-top-col {
    padding: 0px 15px;

    &:nth-child(2) {
      justify-content: flex-end;

      @media only screen and (max-width: 767px) {
        justify-content: flex-start;
      }
    }
  }
}

.agenda-body {
  padding-bottom: 5px;
  border-bottom: 1px solid #ebebea;

  p {
    color: #777e90;
    @include font-size(18px);
    font-weight: 400;
    @include line-height(18px, 27px);
  }
}

.more-text {
  display: none;
}

.read-more-btn {
  padding-left: 10px;
}

.speaker-moderator {
  cursor: pointer;

  h6 {
    color: #b1b5c3;
    @include font-size(16px);
    text-transform: uppercase;
  }

  .speaker-profile-right {
    padding-left: 15px;
    width: calc(100% - 80px);

    h6 {
      font-weight: 400;
      color: #777e90;
      margin-bottom: 0px;
    }

    .speaker--jobTitle--new {
      font-weight: 400;
      color: #777e90;
      margin-bottom: 0px;
      font-size: 15px;
      margin-top: 5px;
      width: 100%;
    }

    span {
      padding-right: 5px;
      display: inline-block;
      vertical-align: middle;
    }
  }

  .dot {
    width: 6px;
    height: 6px;
    display: inline-block;
    background-color: #b1b5c3;
    border-radius: 50%;
    padding: 0px !important;
    position: relative;
  }

  .speaker--description {
    max-width: 130px;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    text-overflow: ellipsis;
    position: relative;
    width: 130px;

    i {
      width: 100%;
      font-size: 0;
    }

    &:before {
      content: attr(data-text);
      position: absolute;
      white-space: nowrap;
      animation: none;
      background: #fff;
      font-size: 16px;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    &:hover {
      &:before {
        animation: scrollText 10s linear infinite;
        width: auto;
      }
    }
  }
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.speaker-profile-wrap {
  transition: max-height 0.5s ease-out;

  &.active {
    // max-height: 1000px;
  }
}

.speaker-profile {
  display: flex;
  padding: 20px 10px;
  align-items: center;

  @media only screen and (max-width: 991px) {
    padding: 0px 0px 10px;
  }

  h5 {
    @include font-size(20px);
    color: #141416;
    font-weight: 400;
  }

  .speaker-profile-left {
    width: 80px;
  }
}

.speaker-toggle {
  display: inline-flex;
  align-items: center;

  .arrow-speaker {
    transition: all 0.4s ease;
  }

  &.active {
    .arrow-speaker {
      transform: rotate(180deg);
    }
  }
}

.speaker-profile-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0px -10px;
  border-bottom: 1px solid #ebebea;

  &:last-child {
    border-bottom: none;
  }

  @media only screen and (max-width: 991px) {
    margin-bottom: 10px;
  }

  .speaker-profile-col {
    width: 33.33%;
    padding: 0px 10px;
    border-right: 1px solid #ebebea;
    margin-bottom: 10px;
    margin-top: 10px;
    overflow: hidden;

    @media only screen and (max-width: 991px) {
      width: 100%;
      border-bottom: 1px solid #ebebea;
      margin-top: 0;
      padding-bottom: 10px;
      border-right: 0;
      margin-bottom: 10px;

      &:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
      }
    }

    h6 {
      position: relative;

      display: inline-block;
    }
  }
}

.speaker-accordion {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.agenda-contentblock-container-wrapper {
  margin: 30px 20px 30px;

  &.speaker-moderator {
    padding: 0;
  }
}

.speaker-profile-wrap-contentblock .speaker-toggle {
  width: 100%;
  padding: 0 10px;
}

.agenda-contentblock-wrapper {
  margin: 0px 0px 30px;
  padding: 20px;
  box-shadow: 6px 4px 17px 0 rgba(0, 44, 82, 0.06);
}

.agenda-contentblock-time {
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 15px;
  display: inline-flex;
  color: #777e90;
  font-size: 18px;
  font-weight: 600;
}

.startTime-contentblock {
  margin-right: 10px;
}

.speaker-profile-wrap-contentblock {
  margin-top: 40px;
}

.agenda-contentblock {
  .agenda-contentblock-title {
    color: var(--color-7);
    font-weight: 600;
    text-transform: none;
    margin-bottom: 10px;
    @include font-size(24px);
    line-height: normal;
  }

  p {
    color: #777e90;
    font-weight: 400;
    @include font-size(18px);
    @include line-height(18px, 27px);
  }
}

.endTime-contentblock {
  margin-left: 10px;
}

.agenda-contentblock-time svg {
  margin-right: 6px;
}

.agenda-contentblock-container-wrapper .speaker-moderator>div:last-child .agenda-contentblock-wrapper {
  border-bottom: 0;
  margin-bottom: 0;
}

.speaker-profile-wrap-contentblock .speaker-profile-wrap {
  border-bottom: 1px solid #ebebea;
  padding-bottom: 20px;
  margin-bottom: 20px;

  &:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }
}

.session-speakermoderator-wrapper .session-speaker-wrapper {
  border-bottom: 1px solid #ebebea;
  padding-bottom: 20px;
  margin-bottom: 20px;

  &:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.layout-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
}

.layout-option {
  padding: 10px;
  border: 1px solid #ccc;
  color: #777e90;
  padding: 8px 10px 8px 10px;
  font-size: 14px;
  cursor: pointer;
  background: 0 0;
  display: flex;
  align-items: center;
  height: 100%;

  &.active {
    background-color: var(--color-14);

    svg {
      path {
        fill: #fff;
      }

      rect {
        stroke: #fff;
      }
    }
  }
}

.layout-option:nth-child(2) {
  border-left: none;
}

.component__sessions-schedule.grid-layout {
  #popupOverlay .speaker-profile-row .speaker-profile-col {
    width: 50% !important;
    padding: 0 10px;
    border-right: 1px solid #ebebea;
    margin-bottom: 10px;
    margin-top: 10px;
    overflow: hidden;

    @media screen and (max-width:1240px) {
      width: 100% !important;
      border-right: 0;
    }

    &:nth-child(2n+2) {
      border-right: none;

      @media screen and (max-width:1240px) {
        border-right: 0;
      }
    }

    &:last-child {
      border-right: 0;
    }
  }

  .popup-overlay {

    right: 0;
    left: unset;

    justify-content: flex-end;

    z-index: 99999;
  }

  .popup-overlay-inner {
    width: 50vw;
    height: 100%;
    background: #fff;
    overflow: auto;

    @media screen and (max-width:768px) {
      width: 85vw;
    }
  }

  .agenda-details.global-strategy {
    border-top: 6px solid #212159;
  }

  .agenda-details.finance-\&-investment {
    border-top: 6px solid #6b3070;
  }

  .agenda-details.digitalisation-\&-ai {
    border-top: 6px solid #006699;
  }

  .agenda-details.diversity\,-leadership-and-development {
    border-top: 6px solid #91051f;
  }

  .agenda-details.decarbonisation {
    border-top: 6px solid #1cab7d;
  }

  .agenda-details.downstream-\&-chemical {
    border-top: 6px solid #4d59a3;
  }

  .agenda-details.hydrogen {
    border-top: 6px solid #00a8e8;
  }

  .agenda-details.maritime-\&-logistics {
    border-top: 6px solid #2491d1;
  }

  .agenda-details.natural-gas-\&-lng {
    border-top: 6px solid #73bfbd;
  }

  .agenda-details.emerging-economies {
    border-top: 6px solid #b5a682;
  }


  .agenda-details {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .agenda-wrapper-container {
    width: 100%;
    margin: 0 5px 50px;
  }



  .agenda-top-col .icon-text:nth-last-child(2) {
    display: none;
  }

  .agenda-top-col .icon-text:last-child {
    display: none;
  }

  .agenda-top-col .icon-text.show-text {
    display: inline-flex !important;
  }


  .agenda-wrapp {
    display: flex;
    margin: 0 -5px;
    flex-wrap: wrap;
  }

  .agenda-row {
    display: block !important;
    margin-top: 10px;
  }

  .agenda-row .agenda-right-col {
    width: 100%;
  }

  .agenda-body>div {
    display: none;
  }

  .agenda-left-col>h6 {
    display: none;
  }

  .component__sessions-schedule .agenda-body h5 {
    font-size: 19px;
    margin-bottom: 0;
  }

  .agenda-head-row .agenda-head-col {
    width: 100%;
  }

  .agenda-head-row .agenda-head-col h5 {
    font-size: 20px;
  }

}

div#popupContent>h5 {
  color: #000;
}

#popupOverlay .speaker-profile-row {
  display: flex !important;
}

#popupOverlay .speaker-profile-row .speaker-profile-col {
  width: 33.33% !important;
  padding: 0 10px;
  border-right: 1px solid #ebebea;
  margin-bottom: 10px;
  margin-top: 10px;
  overflow: hidden;
}

.speaker-profile-row {
  display: block !important;
}

.speaker-profile-row .speaker-profile-col {
  width: 100% !important;
  border: 0;
}

div#popupOverlay p:nth-last-child(2) {
  margin-top: 10px;
  padding-bottom: 0;
}

div#popupContent .session-speakermoderator-wrapper {
  margin-top: 20px;
}

.agenda-details .session-speakermoderator-wrapper {
  display: none;
}

div#popupContent {
  padding: 30px;
}

span#popupClose {
  padding: 10px 20px;
  background: #e7e7e7;
}

div#popupContent {
  padding-top: 65px;
}

div#popupContent .grey-background {
  padding-bottom: 0;
}

div#popupOverlay p:nth-last-child(3) .grey-background {
  padding-bottom: 20px;
  padding-top: 10px;
}

.popup-description p:last-child .grey-background {
  padding-top: 10px;
  padding-bottom: 20px !important;
}

.popup-description {
  margin-bottom: 20px;
}

.popup-description p {
  padding-bottom: 15px;
}

/* Popup overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}



.popup.show {
  transform: translateY(0);
  opacity: 1;
}

.popup-close {
  float: right;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

body.popup-open {
  overflow: hidden;
}

.popup-top {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.popup-top span.icon-text {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  color: #777e90;
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
}

.popup-top .tag {
  margin-left: 0 !important;
}

.popup-top span.icon-text svg {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

.component__sessions-schedule .agenda-body h5 {
  cursor: pointer;
}

.component__sessions-schedule.list-layout .agenda-body h5 {
  pointer-events: none;
}

.popup-title h5 {
  color: #000;
}

@media only screen and (max-width:991px) {
  .agenda-head-row .agenda-head-col h5 {
    font-size: 14px;
  }

  .component__sessions-schedule .agenda-body h5 {
    font-size: 16px;
  }

  .agenda-details {
    padding: 15px;
  }
}

@media only screen and (max-width:768px) {
  .agenda-wrapper-container {
    width: 100%;
  }

  .agenda-wrapp {
    display: flex;
    flex-wrap: wrap;
  }
}

.component__sessions-schedule.grid-layout .agenda-wrapper-container {
  width: calc(100%/4 - 10px);
  flex-grow: 1;
}

@media screen and (max-width:1220px) {
  .component__sessions-schedule.grid-layout .agenda-wrapper-container {
    width: calc(100%/2 - 10px);
    flex-grow: 1;
  }
}

@media screen and (max-width:768px) {
  .component__sessions-schedule.grid-layout .agenda-wrapper-container {
    width: calc(100% - 10px);
    flex-grow: 1;
  }
}


.inside-speakers {
  margin-top: 20px
}

.inside-speakers h6 {
  color: #026;
}

.agenda-multi-speaker {
  display: flex;
  margin: 20px -15px 0;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden
}

@media (max-width: 600px) {
  .agenda-multi-speaker {
    padding: 0 10px
  }

  .agenda-multi-speaker .swiper-button-prev {
    left: -4px
  }

  .agenda-multi-speaker .swiper-button-next {
    right: -4px
  }
}

.agenda-multi-speaker .agenda-multi-speaker-col {
  width: 33.33%;
  padding: 0 15px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden
}

@media (max-width: 1480px) {
  .agenda-multi-speaker .agenda-multi-speaker-col {
    width: 33.33%
  }
}

@media (max-width: 1230px) {
  .agenda-multi-speaker .agenda-multi-speaker-col {
    width: 50%
  }
}

@media (max-width: 600px) {
  .agenda-multi-speaker .agenda-multi-speaker-col {
    width: 100%
  }
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper {
  display: flex;
  align-items: center;
  position: relative
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper a {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  left: 0;
  top: 0
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper .agenda-multi-speaker-img {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper .agenda-multi-speaker-img span {
  width: 8px;
  height: 8px;
  background-color: #fff;
  display: inline-block;
  margin: 0 5px;
  border-radius: 50%
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper img {
  width: 80px;
  height: 80px
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper .agenda-multi-speaker-content {
  width: calc(100% - 80px);
  padding-left: 15px
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper .agenda-multi-speaker-content h6 {
  margin-bottom: 5px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper .agenda-multi-speaker-content .speaker-designation {
  margin: 0 0 2px 0;
  color: #777e90;
  font-size: .98rem
}

.agenda-multi-speaker .agenda-multi-speaker-wrapper .agenda-multi-speaker-content .speaker-location {
  margin: 0;
  color: #404450;
  font-size: .95rem;
  font-weight: 600
}
section.component__sessions-schedule {
    position: relative;
}